diff options
-rw-r--r-- | id.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* * UNG's Not GNU * - * Copyright (c) 2011-2019, Jakob Kaivo <jkk@ung.org> + * Copyright (c) 2011-2020, Jakob Kaivo <jkk@ung.org> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -157,8 +157,7 @@ int main(int argc, char *argv[]) if (optind == argc - 1) { struct passwd *pwd = getpwnam(argv[optind]); if (pwd == NULL) { - fprintf(stderr, "id: user '%s' not found\n", - argv[optind]); + fprintf(stderr, "id: %s: not found\n", argv[optind]); return 1; } uid = ruid = euid = pwd->pw_uid; |